﻿<%@ Page 
    Language="C#" 
    MasterPageFile="~/ITCG.master" 
    AutoEventWireup="true" 
    CodeFile="COM_DONACION_ING.aspx.cs" 
    Inherits="COM_COM_DONACION_ING" 
    Theme="EstiloKCG"
    StylesheetTheme="EstiloKCG"
    meta:resourcekey="Tit_Com_Donacion_IngRecursoKCG" %>
    
    <%@ Register tagprefix="koala" 
    assembly="KoalaWebControls" 
    namespace="Koala.KoalaWebControls" %>

<%@ Register 
    Src="../WebUserControls/wucMensajeEliminar.ascx" 
    TagName="wucMensajeEliminar"
    TagPrefix="uc1" %>
<%@ Register 
    Src="../WebUserControls/wucMensajeActualizar.ascx" 
    TagName="wucMensajeActualizar"
    TagPrefix="uc2" %>
    <%@ Register 
    Assembly="AjaxControlToolkit" 
    Namespace="AjaxControlToolkit" 
    TagPrefix="AjaxControlToolkit" %>
    
<asp:Content 
    ID="Content1" 
    ContentPlaceHolderID="ContentPlaceHolder1" 
    Runat="Server">
    <asp:UpdatePanel 
        ID="UpdatePanel1" 
        runat="server">
        <ContentTemplate>
            <script type="text/javascript">
                                                                               
                var frm = document.getElementById("aspnetForm");
                if (frm) {
                    frm.onsubmit = function() { return false; };
                }
                                                                                                                                               
                function ItemSelected_Bodega( source, eventArgs ) 
                {
                    
                   var valor = eventArgs.get_value();
                    var temp = new Array();
                    temp = valor.split('||');
                                                        
                    var Bod_Bodega_Id = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Bod_Bodega_Id");
                    Bod_Bodega_Id.innerText = temp[0];
                    var Bod_Bodega_Codigo = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Bod_Bodega_Codigo");
                    Bod_Bodega_Codigo.innerText = temp[1];                      
                }    
                                                                                                                   
                function ItemSelected_Tipo_Identificador( source, eventArgs ) 
                {
                    
                   var valor = eventArgs.get_value();
                    var temp = new Array();
                    temp = valor.split('||');
                                                        
                    var Id = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Id");
                    Id.innerText = temp[0];                                                        
                    
                    var variable = $find('AutoCompleteEx2');
                    var variable1 = $find('AutoCompleteEx3');
                    variable.set_contextKey(temp[0]);     
                    variable1.set_contextKey(temp[0]);  
                    
                    var Par_Razon_Social_Nombre = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Par_Razon_Social_Nombre");   
                    Par_Razon_Social_Nombre.innerText="";
                    var Par_Razon_Social_Numero = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Par_Razon_Social_Numero");
                    Par_Razon_Social_Numero.innerText ="";                                   
                }    
                
                 function ItemSelected_Social_Numero( source, eventArgs ) 
                {
                    
                   var valor = eventArgs.get_value();
                    var temp = new Array();
                    temp = valor.split('||');
                                                        
                    var Par_Tipo_Identificacion_Nombre = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Par_Tipo_Identificacion_Nombre");
                    Par_Tipo_Identificacion_Nombre.innerText = temp[0];          
                    
                    var Par_Razon_Social_Nombre = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Par_Razon_Social_Nombre");
                    Par_Razon_Social_Nombre.innerText = temp[1];                                   
                    
                    var Par_Razon_Social_Id = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Par_Razon_Social_Id");
                    Par_Razon_Social_Id.innerText = temp[2];   
                }    
                
                function ItemSelected_Social_Nombre( source, eventArgs ) 
                {
                    
                   var valor = eventArgs.get_value();
                    var temp = new Array();
                    temp = valor.split('||');
                                                        
                    var Par_Tipo_Identificacion_Nombre = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Par_Tipo_Identificacion_Nombre");
                    Par_Tipo_Identificacion_Nombre.innerText = temp[0];   
                    var Par_Razon_Social_Numero = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Par_Razon_Social_Numero");
                    Par_Razon_Social_Numero.innerText = temp[1];   
                    var Par_Razon_Social_Id = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Par_Razon_Social_Id");
                    Par_Razon_Social_Id.innerText = temp[2];                                                         
                }    
                
                function ItemSelected_Moneda( source, eventArgs ) 
                {
                    
                   var valor = eventArgs.get_value();
                    var temp = new Array();
                    temp = valor.split('||');
                                                        
                    var Int_Moneda_Id = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Int_Moneda_Id");
                    Int_Moneda_Id.innerText = temp[0];                                     
                }                                                                                  
                
            </script>
            <script type="text/javascript">
                function checkSelectedValueTipo()
                { 
                    var ddlTipo = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_ddlTipo");
                    var Tipo   = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Tipo");
                    
                    Tipo.innerText = ddlTipo.options[ddlTipo.selectedIndex].value;
                }
                function checkSelectedValueMotivo()
                { 
                    var ddlMotivo = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_ddlMotivo");
                    var Motivo   = $get("ctl00_ContentPlaceHolder1_fvcom_donacion_ing_Motivo");
                    
                    Motivo.innerText = ddlMotivo.options[ddlMotivo.selectedIndex].value;
                }
            </script>                
            <asp:FormView 
                ID="fvcom_donacion_ing" 
                runat="server" 
                DataSourceID="odsfvcom_donacion_ing"
                DataKeyNames="Estado, Id"
                DefaultMode="Insert">
                <EditItemTemplate>
                    <asp:Panel
                        id="panelI1"
                        runat="server"
                        meta:resourcekey="Rec_Com_Donacion_Ing_BodegaRecursoKCG">
                        <table>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblBodega_Cod"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Bod_Bodega_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td style="white-space:nowrap">
                                    <asp:TextBox 
                                        ID="Bod_Bodega_Codigo" 
                                        runat="server" 
                                        TabIndex="-1"
                                        ReadOnly="true"
                                        ToolTip='<%# GetLocalResourceObject("Bod_Bodega_CodigoRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Bod_Bodega_Codigo") %>'>                                       
                                    </asp:TextBox>
                                    <asp:TextBox 
                                        ID="Bod_Bodega_Nombre" 
                                        runat="server" 
                                        Width="400px"
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("Bod_Bodega_NombreRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Bod_Bodega_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        ID="rfvBod_Bodega_Nombre"
                                        runat="server" 
                                        ControlToValidate="Bod_Bodega_Nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender4"
                                        TargetControlID="rfvBod_Bodega_Nombre"/>
                                    <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx"
                                        ID="autoComplete1" 
                                        TargetControlID="Bod_Bodega_Nombre"
                                        ServicePath="~/COM/COM_DONACION_ING.aspx" 
                                        ServiceMethod="GetBodega"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected_Bodega" >
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender>      
                                </td>
                            </tr>                            
                        </table>
                    </asp:Panel>
                    <asp:Panel
                        id="panelI2"
                        runat="server"
                        meta:resourcekey="Rec_Com_Donacion_Ing_EntidadRecursoKCG">
                        <table>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblIdentificador_Nom"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Par_Razon_Social_NumeroRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td style="white-space:nowrap">
                                    <asp:TextBox 
                                        ID="Par_Tipo_Identificacion_Nombre" 
                                        runat="server" 
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("Par_Tipo_Identificacion_NombreRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Par_Tipo_Identificacion_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        ID="rfvPar_Tipo_Identificacion_Nombre"
                                        runat="server" 
                                        ControlToValidate="Par_Tipo_Identificacion_Nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender1"
                                        TargetControlID="rfvPar_Tipo_Identificacion_Nombre"/>
                                    <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx1"
                                        ID="AutoCompleteExtender1" 
                                        TargetControlID="Par_Tipo_Identificacion_Nombre"
                                        ServicePath="~/COM/COM_DONACION_ING.aspx" 
                                        ServiceMethod="GetTipo_Identificador"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected_Tipo_Identificador" 
                                        >    
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx1');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx1')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx1')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender>                                              
                                    <asp:TextBox 
                                        ID="Par_Razon_Social_Numero" 
                                        runat="server" 
                                        Width="353px"
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("Par_Razon_Social_NumeroRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Par_Razon_Social_Numero") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        ID="rfvPar_Razon_Social_Numero"
                                        runat="server" 
                                        ControlToValidate="Par_Razon_Social_Numero"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender2"
                                        TargetControlID="rfvPar_Razon_Social_Numero"/>
                                    <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx2"
                                        ID="AutoCompleteExtender2" 
                                        TargetControlID="Par_Razon_Social_Numero"
                                        ServicePath="~/COM/COM_DONACION_ING.aspx" 
                                        ServiceMethod="GetSocial_Numero"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected_Social_Numero" 
                                        UseContextKey="true"
                                        ContextKey="variable" >
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx2');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx2')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx2')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender>  
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblRazon_Social_Nom"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Par_Razon_Social_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Par_Razon_Social_Nombre" 
                                        runat="server"  
                                        Width="485px"
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("Par_Razon_Social_NombreRecursoKCG.ToolTip").ToString() %>'                                       
                                        Text='<%# Bind("Par_Razon_Social_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        ID="rfvPar_Razon_Social_Nombre"
                                        runat="server" 
                                        ControlToValidate="Par_Razon_Social_Nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender3"
                                        TargetControlID="rfvPar_Razon_Social_Nombre"/>
                                    <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx3"
                                        ID="AutoCompleteExtender3" 
                                        TargetControlID="Par_Razon_Social_Nombre"
                                        ServicePath="~/COM/COM_DONACION_ING.aspx" 
                                        ServiceMethod="GetSocial_Nombre"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected_Social_Nombre" 
                                        UseContextKey="true"
                                        ContextKey="variable" >
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx3');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx3')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx3')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender>  
                                    <asp:Button 
                                        ID="btnZoomParSocial" 
                                        runat="server" 
                                        CommandArgument="RutaDestino: ~/PAR/PAR_RAZON_SOCIAL.aspx; 
                                                        Filtro: Par_Razon_Social_Nombre;
                                                        Obtener: Par_Tipo_Identificacion_Nombre|Par_Razon_Social_Numero;"
                                        CommandName="Zoom" 
                                        Text="..." />   
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <asp:Panel
                        id="panelI3"
                        runat="server"
                        meta:resourcekey="Rec_Com_Donacion_IngRecursoKCG">
                        <table>
                            <tr align="right">
                                <td colspan="5">
                                    <asp:label
                                        id="lblestado"
                                        runat="server" 
                                        ForeColor="Red"                                       
                                        Text='<%# Bind("Estado_Nombre") %>'>
                                    </asp:label>                                  
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblCodigo"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("CodigoRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Codigo" 
                                        runat="server"
                                        Width="175px"
                                        TabIndex="-1"
                                        ReadOnly="true" 
                                        ToolTip='<%# GetLocalResourceObject("CodigoRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Codigo") %>'>
                                    </asp:TextBox>
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblDevolucion_Nombre"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Devolucion_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                
                                </td>
                                <td>                                
                                    <asp:TextBox 
                                        ID="Devolucion_Nombre" 
                                        runat="server" 
                                        ReadOnly="true"                                        
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Devolucion_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Devolucion_Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblFecha"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("FechaRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Fecha" 
                                        runat="server" 
                                        Width="175px"
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("FechaRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Fecha") %>'>
                                    </asp:TextBox>
                                    <AjaxControlToolkit:CalendarExtender
                                        ID="CalendarExtender1" 
	                                    runat="server" 
	                                    TargetControlID="Fecha" 
	                                    Format="d/MM/yyyy">
                                    </AjaxControlToolkit:CalendarExtender>
                                    <AjaxControlToolkit:MaskedEditExtender 
                                        TargetControlID="Fecha" 
	                                    Mask="99/99/9999" 
	                                    MaskType="Date"  
	                                    ID="maskedEditExtender1" 
	                                    OnFocusCssClass="MaskedEditFocus"  
	                                    runat="server">
                                    </AjaxControlToolkit:MaskedEditExtender>     
                                    <AjaxControlToolkit:MaskedEditValidator
                                        ControlToValidate="Fecha" 
                                        ControlExtender="maskedEditExtender1" 
                                        id="maskedEditValidator1"   
                                        TooltipMessage="Formato (dd/MM/yyyy)"  
                                        runat="server" 
                                        IsValidEmpty="false" 
                                        MaximumValue="01/01/2079"                                                                                                                                                        
                                        MaximumValueMessage="Fecha > 01/01/2079"
                                        MinimumValueMessage="Fecha < 01/01/1900"                                                                                                                                                                                                                                       
                                        MinimumValue="01/01/1900"                                                                                                                     
                                        EmptyValueMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.ErrorMessage").ToString() %>'
                                        InvalidValueMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ7RecursoKCG.ErrorMessage").ToString() %>'                                        
                                        EmptyValueBlurredText='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.Text").ToString() %>'
                                        InvalidValueBlurredMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ7RecursoKCG.Text").ToString() %>' 
                                        ValidationGroup="I" 
                                        Display="Dynamic" />   
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblTipo"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("TipoRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Tipo" 
                                        runat="server"
                                        Style="display:none"                                                                               
                                        Text='<%# Bind("Tipo") %>'>
                                    </asp:TextBox>
                                    <asp:DropDownList 
                                        ID="ddlTipo" 
                                        runat="server" 
                                        Width="175px"
                                        DataSourceID="odsTipo" 
                                        DataTextField="Nombre"
                                        CssClass="TEXTO_EDICION_KCG"
                                        DataValueField="Dic_Dominio_Dominio" 
                                        OnDataBound="Tipo_DataBound">
                                    </asp:DropDownList>
                                    <asp:ObjectDataSource 
                                        ID="odsTipo" 
                                        runat="server" 
                                        OldValuesParameterFormatString="original_{0}"
                                        SelectMethod="GetByObjetoCampo" 
                                        TypeName="FEL.VER.BO_Ver_Dominio">
                                        <SelectParameters>
                                            <asp:Parameter 
                                                DefaultValue="Nombre" 
                                                Name="sortExpression" 
                                                Type="String" />
                                            <asp:SessionParameter 
                                                DefaultValue="" 
                                                Name="s" 
                                                SessionField="Scope" 
                                                Type="Object" />
                                            <asp:Parameter 
                                                DefaultValue="COM_DONACION_ING" 
                                                Name="Dic_Objeto_Nombre" 
                                                Type="String" />
                                            <asp:Parameter 
                                                DefaultValue="Tipo" 
                                                Name="Dic_Campo_Nombre" 
                                                Type="String" />
                                        </SelectParameters>
                                    </asp:ObjectDataSource>
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblNumero"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("NumeroRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Numero" 
                                        runat="server" 
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("NumeroRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Numero") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        ID="rfvNumero"
                                        runat="server" 
                                        ControlToValidate="Numero"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender6"
                                        TargetControlID="rfvNumero"/>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblMotivo"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("MotivoRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Motivo" 
                                        runat="server"
                                        Style="display:none"                                                                               
                                        Text='<%# Bind("Motivo") %>'>
                                    </asp:TextBox>
                                    <asp:DropDownList 
                                        ID="ddlMotivo" 
                                        runat="server" 
                                        Width="175px"
                                        DataSourceID="odsMotivo" 
                                        DataTextField="Nombre"
                                        CssClass="TEXTO_EDICION_KCG"
                                        DataValueField="Dic_Dominio_Dominio" 
                                        OnDataBound="Motivo_DataBound">
                                    </asp:DropDownList>
                                    <asp:ObjectDataSource 
                                        ID="odsMotivo" 
                                        runat="server" 
                                        OldValuesParameterFormatString="original_{0}"
                                        SelectMethod="GetByObjetoCampo" 
                                        TypeName="FEL.VER.BO_Ver_Dominio">
                                        <SelectParameters>
                                            <asp:Parameter 
                                                DefaultValue="Nombre" 
                                                Name="sortExpression" 
                                                Type="String" />
                                            <asp:SessionParameter 
                                                DefaultValue="" 
                                                Name="s" 
                                                SessionField="Scope" 
                                                Type="Object" />
                                            <asp:Parameter 
                                                DefaultValue="COM_DONACION_ING" 
                                                Name="Dic_Objeto_Nombre" 
                                                Type="String" />
                                            <asp:Parameter 
                                                DefaultValue="Motivo" 
                                                Name="Dic_Campo_Nombre" 
                                                Type="String" />
                                        </SelectParameters>
                                    </asp:ObjectDataSource>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblValor"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("ValorRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Valor" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        Width="175px"
                                        style="text-align:right"
                                        ToolTip='<%# GetLocalResourceObject("ValorRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Valor") %>'>
                                    </asp:TextBox>                                    
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblInt_Moneda_Nombre"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Int_Moneda_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Int_Moneda_Nombre" 
                                        runat="server" 
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("Int_Moneda_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Int_Moneda_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        ID="rfvInt_Moneda_Nombre"
                                        runat="server" 
                                        ControlToValidate="Int_Moneda_Nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender7"
                                        TargetControlID="rfvInt_Moneda_Nombre"/>
                                    <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx4"
                                        ID="AutoCompleteExtender4" 
                                        TargetControlID="Int_Moneda_Nombre"
                                        ServicePath="~/COM/COM_DONACION_ING.aspx" 
                                        ServiceMethod="GetMoneda"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected_Moneda" >
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx4');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx4')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx4')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender>  
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblCreación_Per_Personal_Nombre"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Creacion_Per_Personal_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Creacion_Per_Personal_Nombre" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        Width="175px"
                                        ToolTip='<%# GetLocalResourceObject("Creacion_Per_Personal_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Creacion_Per_Personal_Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblFecha_Creacion"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Fecha_CreacionRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Fecha_Creacion" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Fecha_CreacionRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Fecha_Creacion") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblUpdate_Per_Personal_Nombre"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Update_Per_Personal_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Update_Per_Personal_Nombre" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        Width="175px"
                                        ToolTip='<%# GetLocalResourceObject("Update_Per_Personal_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Update_Per_Personal_Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblFecha_Update"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Fecha_UpdateRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Fecha_Update" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Fecha_UpdateRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Fecha_Update") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            </table>
                            <table>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblDescripcion"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("DescripcionRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Descripcion" 
                                        runat="server" 
                                        Width="400px"
                                        Height="50px"
                                        TextMode="multiline"
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("DescripcionRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Descripcion") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr align="left">
                                <td colspan="2" >
                                    <asp:Button 
                                            ID="UpdateButton" 
                                            runat="server"
                                            ValidationGroup="I" 
                                            CausesValidation="True" 
                                            CommandName="Update"
                                            AccessKey='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Tec_ActualizarRecursoKCG.AccesKey").ToString() %>'
                                            Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_UpdateRecursoKCG.Text").ToString() %>'
                                            ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_UpdateRecursoKCG.ToolTip").ToString() %>'>
                                         </asp:Button>
                                         <asp:Button 
                                            ID="UpdateCancelButton" 
                                            runat="server"
                                            CausesValidation="False" 
                                            CommandName="Cancel"
                                            AccessKey='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Tec_CancelarRecursoKCG.AccesKey").ToString() %>' 
                                            Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_CancelRecursoKCG.Text").ToString() %>'
                                            ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_CancelRecursoKCG.ToolTip").ToString() %>'>
                                         </asp:Button>
                                    <uc2:wucMensajeActualizar ID="WucMensajeActualizar1" runat="server" />
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                    
                    <%--ID's--%>
                    
                    <asp:TextBox 
                        ID="Par_Razon_Social_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Par_Razon_Social_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Sucursal_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Int_Sucursal_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Bod_Bodega_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Bod_Bodega_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Moneda_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Int_Moneda_Id") %>'>
                    </asp:TextBox>
                                        
                    <asp:TextBox 
                        ID="Creacion_Per_Personal_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Creacion_Per_Personal_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Update_Per_Personal_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Update_Per_Personal_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Id") %>'>
                    </asp:TextBox>
                               
                               
                    <%--CAMPOS NO VISIBLES--%>                 
                    
                    <%--<asp:TextBox 
                        ID="Tipo" 
                        runat="server" 
                        Text='<%# Bind("Tipo") %>'>
                    </asp:TextBox>--%>
                    
                    <asp:TextBox 
                        ID="Devolucion" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Devolucion") %>'>
                    </asp:TextBox>
                    
                    <%--<asp:TextBox 
                        ID="Motivo" 
                        runat="server" 
                        Text='<%# Bind("Motivo") %>'>
                    </asp:TextBox>--%>
                                                            
                    <asp:TextBox 
                        ID="Par_Razon_Social_Codigo" 
                        runat="server"   
                        Visible="false"                                      
                        Text='<%# Bind("Par_Razon_Social_Codigo") %>'>
                    </asp:TextBox>    
                    
                    <asp:TextBox 
                        ID="Int_Sucursal_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Sucursal_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Sucursal_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Sucursal_Nombre") %>'>
                    </asp:TextBox>
                                        
                    <asp:TextBox 
                        ID="Int_Moneda_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Moneda_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Creacion_Per_Personal_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Creacion_Per_Personal_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Update_Per_Personal_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Update_Per_Personal_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Tipo_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Tipo_Nombre") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Motivo_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Motivo_Nombre") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Estado_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Estado_Nombre") %>'>
                    </asp:TextBox>                                        
                    
                    <asp:TextBox 
                        ID="Codigo_int" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Codigo_int") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Nombre") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Estado" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Estado") %>'>
                    </asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>                
                    <asp:Panel
                        id="panelI1"
                        runat="server"
                        meta:resourcekey="Rec_Com_Donacion_Ing_BodegaRecursoKCG">
                        <table>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblBodega_Cod"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Bod_Bodega_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td style="white-space:nowrap">
                                    <asp:TextBox 
                                        ID="Bod_Bodega_Codigo" 
                                        runat="server" 
                                        TabIndex="-1"
                                        ReadOnly="true"
                                        ToolTip='<%# GetLocalResourceObject("Bod_Bodega_CodigoRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Bod_Bodega_Codigo") %>'>                                       
                                    </asp:TextBox>
                                    <asp:TextBox 
                                        ID="Bod_Bodega_Nombre" 
                                        runat="server" 
                                        Width="400px"
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("Bod_Bodega_NombreRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Bod_Bodega_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        ID="rfvBod_Bodega_Nombre"
                                        runat="server" 
                                        ControlToValidate="Bod_Bodega_Nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender4"
                                        TargetControlID="rfvBod_Bodega_Nombre"/>
                                    <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx"
                                        ID="autoComplete1" 
                                        TargetControlID="Bod_Bodega_Nombre"
                                        ServicePath="~/COM/COM_DONACION_ING.aspx" 
                                        ServiceMethod="GetBodega"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected_Bodega" >
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender>      
                                </td>
                            </tr>                            
                        </table>
                    </asp:Panel>
                    <asp:Panel
                        id="panelI2"
                        runat="server"
                        meta:resourcekey="Rec_Com_Donacion_Ing_EntidadRecursoKCG">
                        <table>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblIdentificador_Nom"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Par_Razon_Social_NumeroRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td style="white-space:nowrap">
                                    <asp:TextBox 
                                        ID="Par_Tipo_Identificacion_Nombre" 
                                        runat="server" 
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("Par_Tipo_Identificacion_NombreRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Par_Tipo_Identificacion_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        ID="rfvPar_Tipo_Identificacion_Nombre"
                                        runat="server" 
                                        ControlToValidate="Par_Tipo_Identificacion_Nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender1"
                                        TargetControlID="rfvPar_Tipo_Identificacion_Nombre"/>
                                     <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx1"
                                        ID="AutoCompleteExtender1" 
                                        TargetControlID="Par_Tipo_Identificacion_Nombre"
                                        ServicePath="~/COM/COM_DONACION_ING.aspx" 
                                        ServiceMethod="GetTipo_Identificador"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected_Tipo_Identificador" 
                                        >    
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx1');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx1')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx1')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender>                                              
                                    <asp:TextBox 
                                        ID="Par_Razon_Social_Numero" 
                                        runat="server" 
                                        Width="353px"
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("Par_Razon_Social_NumeroRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Par_Razon_Social_Numero") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        ID="rfvPar_Razon_Social_Numero"
                                        runat="server" 
                                        ControlToValidate="Par_Razon_Social_Numero"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender2"
                                        TargetControlID="rfvPar_Razon_Social_Numero"/>
                                    <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx2"
                                        ID="AutoCompleteExtender2" 
                                        TargetControlID="Par_Razon_Social_Numero"
                                        ServicePath="~/COM/COM_DONACION_ING.aspx" 
                                        ServiceMethod="GetSocial_Numero"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected_Social_Numero" 
                                        UseContextKey="true"
                                        ContextKey="variable" >
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx2');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx2')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx2')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender>  
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblRazon_Social_Nom"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Par_Razon_Social_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Par_Razon_Social_Nombre" 
                                        runat="server"  
                                        Width="485px"
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("Par_Razon_Social_NombreRecursoKCG.ToolTip").ToString() %>'                                       
                                        Text='<%# Bind("Par_Razon_Social_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        ID="rfvPar_Razon_Social_Nombre"
                                        runat="server" 
                                        ControlToValidate="Par_Razon_Social_Nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender3"
                                        TargetControlID="rfvPar_Razon_Social_Nombre"/>
                                    <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx3"
                                        ID="AutoCompleteExtender3" 
                                        TargetControlID="Par_Razon_Social_Nombre"
                                        ServicePath="~/COM/COM_DONACION_ING.aspx" 
                                        ServiceMethod="GetSocial_Nombre"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected_Social_Nombre" 
                                        UseContextKey="true"
                                        ContextKey="variable" >
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx3');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx3')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx3')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender>  
                                    <asp:Button 
                                        ID="btnZoomParSocial" 
                                        runat="server" 
                                        CommandArgument="RutaDestino: ~/PAR/PAR_RAZON_SOCIAL.aspx; 
                                                        Filtro: Par_Razon_Social_Nombre;
                                                        Obtener: Par_Tipo_Identificacion_Nombre|Par_Tipo_Identificacion_Nombre,Par_Razon_Social_Numero|Numero;"
                                        CommandName="Zoom" 
                                        Text="..." />   
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <asp:Panel
                        id="panelI3"
                        runat="server"
                        meta:resourcekey="Rec_Com_Donacion_IngRecursoKCG">
                        <table>
                            <tr align="right">
                                <td colspan="5">
                                    <asp:label
                                        id="lblestado"
                                        runat="server"   
                                        ForeColor="Red"                                     
                                        Text='<%# Bind("Estado_Nombre") %>'>
                                    </asp:label>                                  
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblCodigo"
                                        runat="server"
                                        Visible="false" 
                                        Text='<%# GetLocalResourceObject("CodigoRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Codigo" 
                                        runat="server"
                                        Width="175px"
                                        TabIndex="-1"
                                        ReadOnly="true" 
                                        Visible="false" 
                                        ToolTip='<%# GetLocalResourceObject("CodigoRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Codigo") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblDevolucion_Nombre"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Devolucion_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>                               
                                <td>                                
                                    <asp:TextBox 
                                        ID="Devolucion_Nombre" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        Width="175px"
                                        ToolTip='<%# GetLocalResourceObject("Devolucion_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Devolucion_Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblFecha"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("FechaRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>                                    
                                    <asp:TextBox 
                                        ID="Fecha" 
                                        runat="server" 
                                        Width="175px"
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("FechaRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Fecha") %>'>
                                    </asp:TextBox>
                                    <AjaxControlToolkit:CalendarExtender
                                        ID="CalendarExtender1" 
	                                    runat="server" 
	                                    TargetControlID="Fecha" 
	                                    Format="d/MM/yyyy">
                                    </AjaxControlToolkit:CalendarExtender>
                                    <AjaxControlToolkit:MaskedEditExtender 
                                        TargetControlID="Fecha" 
	                                    Mask="99/99/9999" 
	                                    MaskType="Date"  
	                                    ID="maskedEditExtender1" 
	                                    OnFocusCssClass="MaskedEditFocus"  
	                                    runat="server">
                                    </AjaxControlToolkit:MaskedEditExtender>     
                                    <AjaxControlToolkit:MaskedEditValidator
                                        ControlToValidate="Fecha" 
                                        ControlExtender="maskedEditExtender1" 
                                        id="maskedEditValidator1"   
                                        TooltipMessage="Formato (dd/MM/yyyy)"  
                                        runat="server" 
                                        IsValidEmpty="false" 
                                        MaximumValue="01/01/2079"                                                                                                                                                        
                                        MaximumValueMessage="Fecha > 01/01/2079"
                                        MinimumValueMessage="Fecha < 01/01/1900"                                                                                                                                                                                                                                       
                                        MinimumValue="01/01/1900"                                                                                                                     
                                        EmptyValueMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.ErrorMessage").ToString() %>'
                                        InvalidValueMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ7RecursoKCG.ErrorMessage").ToString() %>'                                        
                                        EmptyValueBlurredText='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.Text").ToString() %>'
                                        InvalidValueBlurredMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ7RecursoKCG.Text").ToString() %>' 
                                        ValidationGroup="I" 
                                        Display="Dynamic" />                                                                                             
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblTipo"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("TipoRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Tipo" 
                                        runat="server"
                                        Style="display:none"                                                                               
                                        Text='<%# Bind("Tipo") %>'>
                                    </asp:TextBox>
                                    <asp:DropDownList 
                                        ID="ddlTipo" 
                                        runat="server" 
                                        Width="175px"
                                        DataSourceID="odsTipo" 
                                        DataTextField="Nombre"
                                        CssClass="TEXTO_EDICION_KCG"
                                        DataValueField="Dic_Dominio_Dominio" 
                                        OnDataBound="Tipo_DataBound">
                                    </asp:DropDownList>
                                    <asp:ObjectDataSource 
                                        ID="odsTipo" 
                                        runat="server" 
                                        OldValuesParameterFormatString="original_{0}"
                                        SelectMethod="GetByObjetoCampo" 
                                        TypeName="FEL.VER.BO_Ver_Dominio">
                                        <SelectParameters>
                                            <asp:Parameter 
                                                DefaultValue="Nombre" 
                                                Name="sortExpression" 
                                                Type="String" />
                                            <asp:SessionParameter 
                                                DefaultValue="" 
                                                Name="s" 
                                                SessionField="Scope" 
                                                Type="Object" />
                                            <asp:Parameter 
                                                DefaultValue="COM_DONACION_ING" 
                                                Name="Dic_Objeto_Nombre" 
                                                Type="String" />
                                            <asp:Parameter 
                                                DefaultValue="Tipo" 
                                                Name="Dic_Campo_Nombre" 
                                                Type="String" />
                                        </SelectParameters>
                                    </asp:ObjectDataSource>
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblNumero"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("NumeroRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>                                
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Numero" 
                                        runat="server" 
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("NumeroRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Numero") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        ID="rfvNumero"
                                        runat="server" 
                                        ControlToValidate="Numero"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender6"
                                        TargetControlID="rfvNumero"/>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblMotivo"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("MotivoRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Motivo" 
                                        runat="server"
                                        Style="display:none"                                                                               
                                        Text='<%# Bind("Motivo") %>'>
                                    </asp:TextBox>
                                    <asp:DropDownList 
                                        ID="ddlMotivo" 
                                        runat="server" 
                                        Width="175px"
                                        DataSourceID="odsMotivo" 
                                        DataTextField="Nombre"
                                        CssClass="TEXTO_EDICION_KCG"
                                        DataValueField="Dic_Dominio_Dominio" 
                                        OnDataBound="Motivo_DataBound">
                                    </asp:DropDownList>
                                    <asp:ObjectDataSource 
                                        ID="odsMotivo" 
                                        runat="server" 
                                        OldValuesParameterFormatString="original_{0}"
                                        SelectMethod="GetByObjetoCampo" 
                                        TypeName="FEL.VER.BO_Ver_Dominio">
                                        <SelectParameters>
                                            <asp:Parameter 
                                                DefaultValue="Nombre" 
                                                Name="sortExpression" 
                                                Type="String" />
                                            <asp:SessionParameter 
                                                DefaultValue="" 
                                                Name="s" 
                                                SessionField="Scope" 
                                                Type="Object" />
                                            <asp:Parameter 
                                                DefaultValue="COM_DONACION_ING" 
                                                Name="Dic_Objeto_Nombre" 
                                                Type="String" />
                                            <asp:Parameter 
                                                DefaultValue="Motivo" 
                                                Name="Dic_Campo_Nombre" 
                                                Type="String" />
                                        </SelectParameters>
                                    </asp:ObjectDataSource>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblValor"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("ValorRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Valor" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        Width="175px"
                                        style="text-align:right"
                                        ToolTip='<%# GetLocalResourceObject("ValorRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Valor") %>'>
                                    </asp:TextBox>                                    
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblInt_Moneda_Nombre"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Int_Moneda_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Int_Moneda_Nombre" 
                                        runat="server" 
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("Int_Moneda_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Int_Moneda_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        ID="rfvInt_Moneda_Nombre"
                                        runat="server" 
                                        ControlToValidate="Int_Moneda_Nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender7"
                                        TargetControlID="rfvInt_Moneda_Nombre"/>
                                    <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx4"
                                        ID="AutoCompleteExtender4" 
                                        TargetControlID="Int_Moneda_Nombre"
                                        ServicePath="~/COM/COM_DONACION_ING.aspx" 
                                        ServiceMethod="GetMoneda"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected_Moneda" >
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx4');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx4')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx4')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender>  
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblCreación_Per_Personal_Nombre"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Creacion_Per_Personal_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Creacion_Per_Personal_Nombre" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        Width="175px"
                                        ToolTip='<%# GetLocalResourceObject("Creacion_Per_Personal_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Creacion_Per_Personal_Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblFecha_Creacion"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Fecha_CreacionRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Fecha_Creacion" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Fecha_CreacionRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Fecha_Creacion") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblUpdate_Per_Personal_Nombre"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Update_Per_Personal_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Update_Per_Personal_Nombre" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        Width="175px"
                                        ToolTip='<%# GetLocalResourceObject("Update_Per_Personal_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Update_Per_Personal_Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblFecha_Update"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Fecha_UpdateRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Fecha_Update" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Fecha_UpdateRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Fecha_Update") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            </table>
                            <table>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblDescripcion"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("DescripcionRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Descripcion" 
                                        runat="server" 
                                        Width="400px"
                                        Height="50px"
                                        TextMode="multiline"
                                        CssClass="TEXTO_EDICION_KCG"
                                        ToolTip='<%# GetLocalResourceObject("DescripcionRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Descripcion") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:Button 
                                        ID="InsertButton" 
                                        runat="server" 
                                        CausesValidation="True" 
                                        CommandName="Insert"
                                        ValidationGroup="I"
                                        AccessKey="I"
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_InsertRecursoKCG.Text").ToString() %>'
                                        ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_InsertRecursoKCG.ToolTip").ToString() %>'>
                                    </asp:Button>
                                    <asp:Button 
                                        ID="InsertCancelButton" 
                                        runat="server" 
                                        CausesValidation="False" 
                                        CommandName="Cancel"
                                        AccessKey="C"
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_CancelRecursoKCG.Text").ToString() %>'
                                        ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_CancelRecursoKCG.ToolTip").ToString() %>'>
                                    </asp:Button>
                                </td>
                            </tr>  
                        </table>
                    </asp:Panel>
                    
                    <%--ID's--%>
                    
                    <asp:TextBox 
                        ID="Par_Razon_Social_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Par_Razon_Social_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Sucursal_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Int_Sucursal_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Bod_Bodega_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Bod_Bodega_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Moneda_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Int_Moneda_Id") %>'>
                    </asp:TextBox>
                                        
                    <asp:TextBox 
                        ID="Creacion_Per_Personal_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Creacion_Per_Personal_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Update_Per_Personal_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Update_Per_Personal_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Id") %>'>
                    </asp:TextBox>
                               
                               
                    <%--CAMPOS NO VISIBLES--%>                 
                    
                    <%--<asp:TextBox 
                        ID="Tipo" 
                        runat="server" 
                        Text='<%# Bind("Tipo") %>'>
                    </asp:TextBox>--%>
                    
                    <asp:TextBox 
                        ID="Devolucion" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Devolucion") %>'>
                    </asp:TextBox>
                    
                    <%--<asp:TextBox 
                        ID="Motivo" 
                        runat="server" 
                        Text='<%# Bind("Motivo") %>'>
                    </asp:TextBox>--%>
                                                            
                    <asp:TextBox 
                        ID="Par_Razon_Social_Codigo" 
                        runat="server"   
                        Visible="false"                                      
                        Text='<%# Bind("Par_Razon_Social_Codigo") %>'>
                    </asp:TextBox>    
                    
                    <asp:TextBox 
                        ID="Int_Sucursal_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Sucursal_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Sucursal_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Sucursal_Nombre") %>'>
                    </asp:TextBox>
                                        
                    <asp:TextBox 
                        ID="Int_Moneda_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Moneda_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Creacion_Per_Personal_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Creacion_Per_Personal_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Update_Per_Personal_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Update_Per_Personal_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Tipo_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Tipo_Nombre") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Motivo_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Motivo_Nombre") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Estado_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Estado_Nombre") %>'>
                    </asp:TextBox>                                        
                    
                    <asp:TextBox 
                        ID="Codigo_int" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Codigo_int") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Nombre") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Estado" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Estado") %>'>
                    </asp:TextBox>
                    
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Panel
                        id="panelI1"
                        runat="server"
                        meta:resourcekey="Rec_Com_Donacion_Ing_BodegaRecursoKCG">
                        <table>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblBodega_Cod"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Bod_Bodega_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Bod_Bodega_Codigo" 
                                        runat="server" 
                                        TabIndex="-1"
                                        ReadOnly="true"
                                        ToolTip='<%# GetLocalResourceObject("Bod_Bodega_CodigoRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Bod_Bodega_Codigo") %>'>                                       
                                    </asp:TextBox>
                                    <asp:TextBox 
                                        ID="Bod_Bodega_Nombre" 
                                        runat="server" 
                                        TabIndex="-1"
                                        ReadOnly="true"
                                        Width="400px"
                                        ToolTip='<%# GetLocalResourceObject("Bod_Bodega_NombreRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Bod_Bodega_Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>                            
                        </table>
                    </asp:Panel>
                    <asp:Panel
                        id="panelI2"
                        runat="server"
                        meta:resourcekey="Rec_Com_Donacion_Ing_EntidadRecursoKCG">
                        <table>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblIdentificador_Nom"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Par_Razon_Social_NumeroRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>                                                                
                                    <asp:TextBox 
                                        ID="Par_Tipo_Identificacion_Nombre" 
                                        runat="server" 
                                        TabIndex="-1"
                                        ReadOnly="true"
                                        ToolTip='<%# GetLocalResourceObject("Par_Tipo_Identificacion_NombreRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Par_Tipo_Identificacion_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:TextBox 
                                        ID="Par_Razon_Social_Numero" 
                                        runat="server" 
                                        TabIndex="-1"
                                        ReadOnly="true"
                                        Width="370px"
                                        ToolTip='<%# GetLocalResourceObject("Par_Razon_Social_NumeroRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Par_Razon_Social_Numero") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblRazon_Social_Nom"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Par_Razon_Social_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Par_Razon_Social_Nombre" 
                                        runat="server"  
                                        Width="495px"
                                        TabIndex="-1"
                                        ReadOnly="true"
                                        ToolTip='<%# GetLocalResourceObject("Par_Razon_Social_NombreRecursoKCG.ToolTip").ToString() %>'                                       
                                        Text='<%# Bind("Par_Razon_Social_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:Button 
                                        ID="btnZoomParSocial" 
                                        runat="server" 
                                        CommandArgument="RutaDestino: ~/PAR/PAR_RAZON_SOCIAL.aspx; 
                                                        Filtro: Par_Razon_Social_Nombre;
                                                        Obtener: Par_Tipo_Identificacion_Nombre|Par_Razon_Social_Numero;"
                                        CommandName="Zoom" 
                                        Text="..." Enabled="false"/>
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <asp:Panel
                        id="panelI3"
                        runat="server"
                        meta:resourcekey="Rec_Com_Donacion_IngRecursoKCG">
                        <table>
                            <tr align="right">
                                <td colspan="5">
                                    <asp:label
                                        id="lblestado"
                                        runat="server" 
                                        ForeColor="Red"                                       
                                        Text='<%# Bind("Estado_Nombre") %>'>
                                    </asp:label>                                  
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblCodigo"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("CodigoRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Codigo" 
                                        runat="server"
                                        TabIndex="-1"
                                        ReadOnly="true"
                                        Width="175px"
                                        ToolTip='<%# GetLocalResourceObject("CodigoRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Codigo") %>'>
                                    </asp:TextBox>
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblDevolucion_Nombre"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Devolucion_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                </td>
                                <td>    
                                    <asp:TextBox 
                                        ID="Devolucion_Nombre" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Devolucion_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Devolucion_Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblFecha"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("FechaRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Fecha" 
                                        runat="server" 
                                        TabIndex="-1"
                                        ReadOnly="true"
                                        Width="175px"
                                        ToolTip='<%# GetLocalResourceObject("FechaRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Fecha") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblTipo"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("TipoRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Tipo_Nombre" 
                                        runat="server" 
                                        TabIndex="-1"
                                        Width="175px"
                                        ReadOnly="true"
                                        ToolTip='<%# GetLocalResourceObject("TipoRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Tipo_Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblNumero"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("NumeroRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                </td>
                                <td> 
                                    <asp:TextBox 
                                        ID="Numero" 
                                        runat="server" 
                                        TabIndex="-1"
                                        ReadOnly="true"
                                        ToolTip='<%# GetLocalResourceObject("NumeroRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Numero") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblMotivo"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("MotivoRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Motivo_Nombre" 
                                        runat="server" 
                                        TabIndex="-1"
                                        ReadOnly="true"
                                        Width="175px"
                                        ToolTip='<%# GetLocalResourceObject("MotivoRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Motivo_Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblValor"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("ValorRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Valor" 
                                        runat="server"
                                        Width="175px" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        style="text-align:right"
                                        ToolTip='<%# GetLocalResourceObject("ValorRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Valor") %>'>
                                    </asp:TextBox>                                    
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblInt_Moneda_Nombre"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Int_Moneda_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                </td>
                                <td> 
                                    <asp:TextBox 
                                        ID="Int_Moneda_Nombre" 
                                        runat="server" 
                                        TabIndex="-1"
                                        ReadOnly="true"
                                        ToolTip='<%# GetLocalResourceObject("Int_Moneda_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Int_Moneda_Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblCreación_Per_Personal_Nombre"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Creacion_Per_Personal_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Creacion_Per_Personal_Nombre" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        Width="175px"
                                        ToolTip='<%# GetLocalResourceObject("Creacion_Per_Personal_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Creacion_Per_Personal_Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblFecha_Creacion"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Fecha_CreacionRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                </td>
                                <td> 
                                    <asp:TextBox 
                                        ID="Fecha_Creacion" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Fecha_CreacionRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Fecha_Creacion") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblUpdate_Per_Personal_Nombre"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Update_Per_Personal_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Update_Per_Personal_Nombre" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        Width="175px"
                                        ToolTip='<%# GetLocalResourceObject("Update_Per_Personal_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Update_Per_Personal_Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                                <td>
                                    <asp:Label
                                        id="lblFecha_Update"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("Fecha_UpdateRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                </td>
                                <td> 
                                    <asp:TextBox 
                                        ID="Fecha_Update" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Fecha_UpdateRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Fecha_Update") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            </table>
                            <table>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblDescripcion"
                                        runat="server" 
                                        Text='<%# GetLocalResourceObject("DescripcionRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Descripcion" 
                                        runat="server" 
                                        Width="400px"
                                        Height="50px"
                                        TextMode="multiline"
                                        CssClass="TEXTO_LECTURA_KCG"
                                        TabIndex="-1"
                                        ReadOnly="true"
                                        ToolTip='<%# GetLocalResourceObject("DescripcionRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Descripcion") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr align="left">
                                <td colspan="2">
                                    <asp:Button 
                                        ID="EditButton" 
                                        runat="server"
                                        CausesValidation="False" 
                                        CommandName="Edit"
                                        AccessKey='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Tec_EditarRecursoKCG.AccesKey").ToString() %>'  
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_EditRecursoKCG.Text").ToString() %>'
                                        ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_EditRecursoKCG.ToolTip").ToString() %>'>
                                   </asp:Button>
                                   <asp:Button 
                                        ID="DeleteButton" 
                                        runat="server" 
                                        CausesValidation="False" 
                                        CommandName="Delete"
                                        AccessKey='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Tec_EliminarRecursoKCG.AccesKey").ToString() %>'  
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_DeleteRecursoKCG.Text").ToString() %>'
                                        ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_DeleteRecursoKCG.ToolTip").ToString() %>'>
                                   </asp:Button>
                                   <asp:Button 
                                        ID="NewButton" 
                                        runat="server" 
                                        CausesValidation="False" 
                                        CommandName="New"
                                        AccessKey='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Tec_NuevoRecursoKCG.AccesKey").ToString() %>'  
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_NewRecursoKCG.Text").ToString() %>'
                                        ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_NewRecursoKCG.ToolTip").ToString() %>'>
                                   </asp:Button>
                                   <uc1:wucMensajeEliminar ID="WucMensajeEliminar1" runat="server" />
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                    
                    <%--ID's--%>
                    
                    <asp:TextBox 
                        ID="Par_Razon_Social_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Par_Razon_Social_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Sucursal_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Int_Sucursal_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Bod_Bodega_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Bod_Bodega_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Moneda_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Int_Moneda_Id") %>'>
                    </asp:TextBox>
                                        
                    <asp:TextBox 
                        ID="Creacion_Per_Personal_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Creacion_Per_Personal_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Update_Per_Personal_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Update_Per_Personal_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Id") %>'>
                    </asp:TextBox>
                               
                               
                    <%--CAMPOS NO VISIBLES--%>                 
                                                            
                    <asp:TextBox 
                        ID="Devolucion" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Devolucion") %>'>
                    </asp:TextBox>                                        
                                                            
                    <asp:TextBox 
                        ID="Par_Razon_Social_Codigo" 
                        runat="server"   
                        Visible="false"                                      
                        Text='<%# Bind("Par_Razon_Social_Codigo") %>'>
                    </asp:TextBox>    
                    
                    <asp:TextBox 
                        ID="Int_Sucursal_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Sucursal_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Sucursal_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Sucursal_Nombre") %>'>
                    </asp:TextBox>
                                        
                    <asp:TextBox 
                        ID="Int_Moneda_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Moneda_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Creacion_Per_Personal_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Creacion_Per_Personal_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Update_Per_Personal_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Update_Per_Personal_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Tipo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Tipo") %>'>
                    </asp:TextBox>
                    
                   <asp:TextBox 
                        ID="Motivo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Motivo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Estado_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Estado_Nombre") %>'>
                    </asp:TextBox>                                        
                    
                    <asp:TextBox 
                        ID="Codigo_int" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Codigo_int") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Nombre") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Estado" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Estado") %>'>
                    </asp:TextBox>
                </ItemTemplate>
            </asp:FormView>
            <table>
                <tr>                                        
                    <td>
                        <asp:Button 
                            ID="ButtonArticulos" 
                            runat="server"                 
                            OnClick="ButtonArticulos_Click"/>
                    </td>
                    <td>
                        <asp:Button 
                            ID="ButtonListado" 
                            runat="server"                                                
                            OnClick="ButtonListado_Click"/>
                    </td>
                    <td>
                       <asp:UpdatePanel ID="opopop"
                            runat="server">
                            <ContentTemplate>                            
                            <koala:KEstado ID="Estado" 
                                           Runat="Server" 
                                           ObjetoNombre="Com_Donacion_Ing"
                                           CampoNombre="Estado" />  
                            </ContentTemplate>
                     </asp:UpdatePanel>                        
                    </td>                    
                </tr>
            </table>   
            </ContentTemplate>
    </asp:UpdatePanel>         
            <asp:ObjectDataSource 
                ID="odsfvcom_donacion_ing" 
                runat="server" 
                ConflictDetection="CompareAllValues"
                DeleteMethod="Delete" 
                InsertMethod="Insert" 
                OldValuesParameterFormatString="original{0}"
                SelectMethod="GetById" 
                SortParameterName="sortExpression" 
                TypeName="FEL.COM.BO_Com_Donacion_Ing"
                UpdateMethod="Update">
                <SelectParameters>
                    <asp:SessionParameter 
                        Name="s" 
                        SessionField="Scope" 
                        Type="Object" />
                    <asp:Parameter 
                        Name="Id" 
                        Type="String" />
                </SelectParameters>
            </asp:ObjectDataSource>
            <asp:UpdatePanel 
        ID="UpdatePanel2" 
        runat="server">
        <ContentTemplate>
            <asp:Button 
                ID="Atras" 
                runat="server"                 
                Visible="False" />
            <asp:Button 
                ID="Seleccionar" 
                runat="server"                 
                Visible="False" />
        </ContentTemplate> 
    </asp:UpdatePanel>
</asp:Content>

